import * as CONSTANT from '../constant'

export const actionUserAsync  = ()=>({type:CONSTANT.USER_ASYNC})
export const actionUser  = (user)=>({type:CONSTANT.USER,payload:user})
export const actionUserError  = (error)=>({type:CONSTANT.USER_ERROR,payload:error})